package com.yantong.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;


public class CollectVo implements Serializable {
    private static final long serialVersionUID = 1L;

    //主键
    private Integer id;
    //用户Id
    private Long mid;
    //产品Id
    private Integer valueId;
    //添加时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    //是否提醒
    private Integer isAttention;
    //类型：user用户，goods商品，information资讯
    private String type;
    //数据类型
    private Object collectObj;

    /**
     * 设置：主键
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：主键
     */
    public Integer getId() {
        return id;
    }

    public Long getMid() {
        return mid;
    }

    public void setMid(Long mid) {
        this.mid = mid;
    }

    /**
     * 设置：产品Id
     */
    public void setValueId(Integer valueId) {
        this.valueId = valueId;
    }

    /**
     * 获取：产品Id
     */
    public Integer getValueId() {
        return valueId;
    }
    /**
     * 设置：添加时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取：添加时间
     */
    public Date getAddTime() {
        return addTime;
    }
    /**
     * 设置：是否提醒
     */
    public void setIsAttention(Integer isAttention) {
        this.isAttention = isAttention;
    }

    /**
     * 获取：是否提醒
     */
    public Integer getIsAttention() {
        return isAttention;
    }
    /**
     * 设置：类型：user用户，goods商品，information资讯
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取：类型：user用户，goods商品，information资讯
     */
    public String getType() {
        return type;
    }

    public Object getCollectObj() {
        return collectObj;
    }

    public void setCollectObj(Object collectObj) {
        this.collectObj = collectObj;
    }
}
